<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<link href="<%=path%>/pattern/cm/css/list_public_short.css" type="text/css"
			rel="stylesheet" />
		<link rel="stylesheet" type="text/css"
			href="<%=path%>/pattern/flexigrid/css/flexigrid/flexigrid.css">
		<script type="text/javascript"
			src="<%=path%>/pattern/jquery-ui-1.7.1.custom/js/jquery-1.3.2.min.js"></script>
		<script type="text/javascript"
			src="<%=path%>/pattern/flexigrid/flexigrid.js"></script>
		<script src="<%=path%>/pattern/cm/js/list_public.js"
			language="javascript" type="text/javascript"></script>
			
		<title>无标题文档</title>
	</head>
	<body>

		<div id="layout">
			<div class="title">
				串误识别率
			</div>

			<div class="list" id="list">
				<form name="data" method="post">
					<table class="flexme1">
						<thead>
							<tr>
								<th width="40">
									标记
								</th>
								<th width="100">
									频繁串ID
								</th>
								<th width="100">
									次数
								</th>
								<th width="100">
									误识别
								</th>
								<th width="100">
									误识别率
								</th>
								<th width="78">
									操作
								</th>
								
							</tr>
						</thead>
						<tbody>
						<c:forEach items="${list}" var="entity">
								<tr>
									<td align="center">
										<input type="checkbox" value="${entity.id }">
									</td>
									<td align="center">
										${entity.fid}
									</td>
									<td align="center">
										${entity.frame}
									</td>
									<td align="center">
										${entity.errecog}
									</td>
									<td align="center">
										${entity.percent}
									</td>
									<td align="center">
										&nbsp;
										<s:if test="#session.type == 'admin'">
											<a
												href="<%=path%>/strErrRecInfo.action?type=delete&ids=${entity.id }">删除</a>
										</s:if>
										&nbsp;&nbsp;

									</td>

								</tr>
							</c:forEach>
						</tbody>
					</table>
				</form>
			</div>
			<div class="bottom">
				<div class="pageup"
					onclick="window.location.href='<%=basePath%>strErrRecList.action?type=find_all_desc_with_date&currentPage=${previousPage}'"></div>
				<div id="pages">
					${currentPage} of ${totalPages}
				</div>
				<div class="pagedown"
					onclick="window.location.href='<%=basePath%>strErrRecList.action?type=find_all_desc_with_date&currentPage=${nextPage}'"></div>
				<div id="records">
					共有 ${totalRows} 条记录
				</div>
				<div class="clear"></div>
			</div>
		</div>
				<div class="tiao">
			<img src="<%=path%>/pattern/cm/theme/images/tiao.png">
		</div>
			<div class="chart">
			<img alt="串误识别率图" src="<%=path%>/strErrRecChart.action">							
						</div>
	</body>
</html>
